package cn.house.houseai.entify;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 羡y
 * @date 2024/9/30
 * @Description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Device {
    // 设备号
    private int device_id;
    // 用户号
    private int user_id;
    // 设备名称
    private String device_type;
    // 设备状态
    private String status;
    // 能耗
    private int energy_consumption;
    // 创建时间
    private Date created_at = new Date();
}
